gl: use memcmp to compare glyph cache keys
authorChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 21:46:36 +0000 (14:46 -0700)
committerChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 21:47:23 +0000 (14:47 -0700)
commitb29feb193eac97c9cc31f33290bf3731757f4cb2
treee33ba4651bba59db9050d1fb0ad822a997a220da
parent75b5c2a2936d25e118f2df27558a39268ba83010
gl: use memcmp to compare glyph cache keys

We can just use memcmp here because even in the use of lookup keys with
C99 initializers, we can rely on any space between fields added by the
compiler to be zeroed. So we might as well use wider memory cmopares.
gsk/gl/gskglglyphcache.c